{{if $smarty.get.act!=reset_password}}
    <div class="{{if $smarty.get.act==index}}footer login_f{{elseif $smarty.get.act==register}}footer regi_f{{/if}}">
        <div class="link">
            <a>友情链接：</a>
            <a href="javascript:">学院概况</a><span></span>
            <a href="javascript:">政策法规</a><span></span>
            <a href="javascript:">服务平台</a><span></span>
            <a href="javascript:">下载专区</a><span></span>
            <a href="javascript:">联系我们</a><span></span>
            <a href="javascript:">后台管理</a>
        </div>
        <div class="msg">
            <p>地址：广东省茂名市茂南区官渡二路139号广东石油化工学院</p>
            <p>联系电话：13900000 <span>邮箱：12455@163.com</span></p>
        </div>
        <span>©2017  广东石油化工学院创新创业学院  版权所有</span>
    </div>
{{/if}}
    <script type="text/javascript">
        function test(){
            var number = $('#number').val();
            $.post('{{"index.php?app=Login&sms"|URL}}',{'number':number},function(result){
                if(result.statusCode=='200'){
                    ui.success('短信发送成功!');
                    setCookie('sms',result.message,'5');
                    //$('#sms-btn').addClass("btn-retransmit-disabled");
                } 
                else ui.error(result.message);
            },'json');
        }

        function setCookie(cname,cvalue,fen){
            var d = new Date();
            d.setTime(d.getTime()+(fen*60*1000));
            var expires = "expires="+d.toGMTString();
            document.cookie = cname+"="+cvalue+"; "+expires;
        }

        function getCookie(cname){
            var name = cname + "=";
            var ca = document.cookie.split(';');
            for(var i=0; i<ca.length; i++) {
                var c = ca[i].trim();
                if (c.indexOf(name)==0) { return c.substring(name.length,c.length); }
            }
            return "";
        }

</script>
</body>
</html>